package com.itheima.health.service;

import com.itheima.health.entity.Result;

import java.util.Map;

/**
 * 预约服务接口
 */
public interface OrderService {
    /**
     * 添加预约
     * @param orderInfo
     */
    Result addOrder(Map orderInfo) throws Exception;

    /**
     * 根据orderId查找orderInfo
     * @param id
     * @return
     */
    Map getOrderInfoByOrderId(Integer id) throws Exception;
}
